<div ng-include src="'tpl/public/header.html?1'"></div>
<div class="contents">
  <ol class="breadcrumb">
    <li> <a href="#/index/panel">首页</a> </li>
    <li class="active">
      <a href="#/hongbao/list">红包列表</a> 
    </li>
  </ol>
  <form class="form-horizontal" role="form" name="form" novalidate >
  <table class="table table-striped table-bordered">
    <tr>
      <td width="100"> 团编号 </td>
      <td>{{listGroup.fpGroupId}}</td>
    </tr>
    <tr>
      <td> 成团时间 </td>
      <td> {{listGroup.fpGroupCreateTime| date:'yyyy-MM-dd HH:mm:ss'}}</td>
    </tr>
    <tr>
        <td> 团名称 </td>
        <td>{{listGroup.fpGroupName}}</td>
    </tr>
    <tr>
        <td> 团大小 </td>
        <td>{{listGroup.fpGroupTotalMember}}</td>
    </tr>
    <tr>
        <td> 团长姓名 </td>
        <td>{{listGroup.fpFaName}}</td>
    </tr>
    <tr>
        <td> 团手机 </td>
        <td>{{listGroup.fpFaMobile}}</td>
    </tr>
    <tr>
        <td> 团长红包 </td>
        <td>{{listGroup.fpGroupSendAmount}}</td>
    </tr>
     <tr>
        <td> 团成员 </td>
        <td>
          <table class="table table-striped table-hover ">
             <thead>
              <tr>
                <th width="85">团成员姓名</th>
		<th width="85">认证状态</th>
                <th width="85">手机号</th>
                <th width="85">红包大小</th>
                <th width="85">是否拆红包</th>
               </tr>
             </thead>
             <tbody>
               <tr  ng-repeat="member in listMember">
                  <td>{{member.fpFaName}}</td>
		  <td ng-if="member.fpFaRole == 98">认证审核中</td>
		  <td ng-if="member.fpFaRole == 99">认证审核失败</td>
		  <td ng-if="member.fpFaRole == 1">未提交审核</td>
		  <td ng-if="member.fpFaRole != 1 && member.fpFaRole != 98 && member.fpFaRole!=99">认证通过</td>
                  <td>{{member.fpFaMobile}}</td>
                  <td>{{member.fpGroupSendAmount}}</td>
                  <td>{{member.fpGroupSendAmountStatus|fpGroupSendAmountStatusRenter}}</td>
              </tr>
          </tbody>
          </table>

        </td>
    </tr>
     <tr>
        <td> 团状态 </td>
        <td>{{listGroup.fpGroupStatus |fpGroupStatusRenter}}</td>
    </tr>
     <tr>
        <td> 是否领取红包 </td>
        <td>{{listGroup.hadGetGift|hadGetGiftRenter}}</td>
    </tr>
  </table>
    <div>
      <div>
          <input type="button" ng-click="changeGroup()" value="激活此团" />
      </div>
    </div>

  </form>
</div>
